<!DOCTYPE HTML>
<html>
<head>

<!-- <<<  Style for tab control with arrow -->
<style type="text/css">

div.menuContainer {
  	width: 180px;
	box-shadow: 3px 3px 8px 1px gray;
	border: 1px solid #7e7e7e;
}

div.overallContainer {
	width: 180px;
	position: absolute;
	top: 54px;
	left: -39px;
	/* display: none; */
	transition: opacity 0.5s ease 0s;
	visibility: hidden;
	opacity: 0;
}

ul.popupMenu {
	margin: 0;
	padding: 0;
	background: #ececec;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	list-style-type: none;
	width: 100%;
}

ul.popupMenu li {
	font-family: 'Effra W01 Bold', Helvetica, Arial, sans-serif;
	font-size: 0.875em;
	cursor: pointer;
	line-height: 1em;
	color: black;
	position: relative;
	text-transform: uppercase;
	padding: 0.8em 0.3em 0.6em 3.2em;
	border: none;
	text-align: left;
	border-top: 1px solid transparent;
	border-bottom: 1px solid transparent;
}

ul.popupMenu li:hover {
	display: block;
	background-color: #fff6da;
	border-style: none;
	color: #000;
	text-decoration: none;
	border-top: 1px solid #eeb111;
	border-top: 1px solid #eeb111;
	border-bottom: 1px solid #eeb111;
}


div.originIndicator {
	content: "";
	border-left: 12px solid transparent;
	border-right: 12px solid transparent;
	border-bottom: 12px solid #ececec;
	width: 0.0em;
	left: 60px;
	top: 1px;
	position: relative;
}


div.originIndicatorBox {
	content: "";
	border-left: 13px solid transparent;
	border-right: 13px solid transparent;
	border-bottom: 13px solid #3e3e3e;
	width: 0.0em;
	left: 59px;
	top: 13px;
	position: relative;
}


.popupMenu:before, .popupMenu:after {
  display: table;
  content: "";
  zoom: 1;
}


div.toolBarButton {
	width: 64px;
	height: 64px;
	border: 3px solid black;
	position: relative;
	background: lightgray;
	left: 89px;
	float: left;
	text-align: center;
	text-transform: uppercase;
}


div.toolBarButton:after {
  clear: both;
}


div.toolBarButton:hover {
	border: inset;
}


div.toolBarButton:hover div.overallContainer {
  /* display: block; */
  opacity: 1;
  visibility: visible;
}

h3:before {
  clear: both;
}

</style>
<!-- >>> -->

</html>
<body>
<div class="toolBarButton" id="edit_options"><br/>Edit
	<div class="overallContainer">
		<div class="originIndicatorBox" id="secondIndicatorBox"></div>
		<div class="originIndicator" id="secondIndicator"></div>
		<div class="menuContainer" id="second">
			<ul class="popupMenu">
				<li class="first">
			  		Cursor
				</li>
				<li>
					Pan
				</li>
				<li>
					Select text
				</li>
				<li>
					Select markup
				</li>
			</ul>
		</div>
	</div>
</div>
<div style="float: left">&nbsp</div>
<div class="toolBarButton" id="save_options"><br/>Save
	<div class="overallContainer">
		<div class="originIndicatorBox" id="secondIndicatorBox"></div>
		<div class="originIndicator" id="secondIndicator"></div>
		<div class="menuContainer" id="second">
			<ul class="popupMenu">
				<li class="first">
			  		Save as Text
				</li>
				<li>
					Save as TIFF
				</li>
				<li>
					Save as PDF
				</li>
			</ul>
		</div>
	</div>
</div>

<br/><br/><br/><br/>
<h3>Pop-up Menu Example</h3>
<p>This example shows styling that generates the little triangle symbol on the top edge of the pop-up menu including the thin border around the complete shape. This is the application interface and the pop-up menu is supposed to appear over the application. That is why a absolute positioning is used for the whole container, combinaed with z-order values.<p/>
</body>
</html> 
